<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>易夫森管理系统</title>
		<link rel="stylesheet" type="text/css" href="css/yfs.css">
	</head>

	<body>
		<table width="900" align="center" height="100%" border="0" margin="0"
			padding="0" cellspacing="0" cellpadding="0">
			<tr>
				<td valign="top" width="100%" height="30" colspan="6">
					<img src="images/logo.jpg">
				</td>
			</tr>
			<tr valign="top">
				<td width="2px" bgcolor="#add2da">
					&nbsp;
				</td>
				<td align="left" width="30px">
					<jsp:include page="left.jsp"></jsp:include>
				</td>
				<td width="2px" bgcolor="#add2da">
					&nbsp;
				</td>
				<td valign="top" width="750">
					<form action="<%=path%>/addSite" method="post">
						<label for="ch" style="width: 130px">
							请输入网站名称
						</label>
						<input type="text" name="site_ch" id="ch">
						<br />
						<label for="en" style="width: 130px">
							请输入网站简称（字母）
						</label>
						<input type="text" name="site_en" id="en">
						<br />
						<input type="submit" value="提交" />
					</form>
					<span>${msg}</span>
					<table>
						<tr>
							<th align="left" width=50%>
								网站中文
							</th>
							<th width=20%>
								网站简称
							</th>
						</tr>
						<c:forEach items="${sitelist}" var="kl">
							<tr>
								<td>
									${kl.site_ch}
								</td>
								<td>
									${kl.site_en}
								</td>
							</tr>
						</c:forEach>
					</table>
				</td>
				<td width="2px" bgcolor="#add2da">
					&nbsp;
				</td>
			</tr>
		</table>
	</body>
</html>
